package com.dhy.takeaway.dao;

import com.dhy.takeaway.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LoginDao {
    List<User> findListUser();
    User findUserById(String id);
    User findUserByName(String name);
    int insertUser(User user);
    int updateUser(User user);
}
